import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Home',
    component: () => import(/* webpackChunkName: "home" */ '@/views/FamilyActivities/index.vue')
  },
  {
    path: '/about',
    name: 'About',
    component: () => import(/* webpackChunkName: "about" */ '@/views/LeaveApplication/index.vue')
  },
  {
    path:'/about1',
    name:'About1',
    component: () => import('@/views/AboutView1.vue')
  },
  {
    path:'/heightChart',
    name:'HeightChart',
    component: () => import('@/views/HealthManagement/HeightChart.vue')
  },
  {
    path:'/vaccineDetail',
    name:'VaccineDetail',
    component: () => import('@/views/HealthManagement/VaccineDetail.vue')
  },
  {
    path: '/lastview',
    name: 'lastView',
    component: () => import(/* webpackChunkName: "luckdraw" */ '@/views/DailyClock/index.vue')
  },
  {
    path: '/healthManagement',
    name: 'HealthManagement',
    component: () => import(/* webpackChunkName: "luckdraw" */ '@/views/HealthManagement/index.vue')
  },
  {
    path: '/todoList',
    name: 'TodoList',
    component: () => import(/* webpackChunkName: "todo" */ '@/views/WeekRecipe/index.vue')
  },
  {
    path: '/luckdraw',
    name: 'LuckDraw',
    component: () => import(/* webpackChunkName: "luckdraw" */ '@/views/WallHonor/index.vue')
  },
  {
    path: '/inoculate/DetailOne',
    name: 'DetailOne',
    component: () => import(/* webpackChunkName: "chatpage" */ '@/views/inoculate/DetailOne.vue')
  },
  {
    path: '/inoculate/DetailTwo',
    name: 'DetailTwo',
    component: () => import(/* webpackChunkName: "chatpage" */ '@/views/inoculate/DetailTwo.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
